package cn.sicnu.cs.employment.service;


import cn.sicnu.cs.employment.domain.entity.BgAppeal;
import cn.sicnu.cs.employment.domain.entity.EmployeeExpProject;

import java.util.List;

public interface IBgAppealService {

    List<BgAppeal> getAppealsByBgId(Long id);

    void saveAppeal(BgAppeal appeal, EmployeeExpProject project);

    List<BgAppeal> getAllAppealsByEmpId(Long empId, Integer type, Integer status, String start, String end);

    void sendAppeal(Long appealId);

    boolean isAppealAvailable(Long appealId);

    void deleteAppeal(Long appealId);

    List<BgAppeal> getAllAppealsByCom(Long id, Integer type, Integer status, String start, String end);

    BgAppeal getAppealsById(Long appealId);

    void approveAppeal(Long proId);

}
